/*
Theme Name: Librio
Description: Inspired by Mac OS X Leopard.
Version: 1.0
Author: Deniart
Author URI: http://deniart.ru/
Tags: fixed width, two columns, widgets, apple, mac, white, grey

	Librio v1.0
	http://deniart.ru/

	This theme was designed and built by Denis Shakhov,
	whose homepage you will find at http://deniart.ru/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* Reset
-------------------------------------------------------------------*/
* { padding: 0; margin: 0; }
ul, ol { list-style: none; list-style-position: inside; }
ol ol, ul ul, ol ul, ul ol { margin-left: 20px; margin-bottom: 0; }
img { border: none; }


/* Body
-------------------------------------------------------------------*/
body { 
	font: 12px/18px Tahoma, Microsoft YaHei, Verdana, Arial, Helvetica, sans-serif;
	color:#333;
	background: #fafafa url(images/bg.gif); 
}

h1 { font-family: "Trebuchet MS", Helvetica, Arial, Geneva, Sans-Serif; font-weight: normal; color: #333; }
h1 { font-size: 22px; line-height: 26px; margin-bottom: 10px; }
h1 span { color: #999; }

h3 { font-family: "楷体", Helvetica, Arial, Geneva, Sans-Serif; font-weight: normal; color: #400040; font-size:18px;}
h3 { margin:10px;}
h4 {
	font-family: "楷体", Helvetica, Arial, Geneva, Sans-Serif; font-weight: normal; color: #400040;
	font-size:16px;
}
a{
	text-decoration:none;
	color:#008080;
}
a:hover{
	text-decoration:underline;
	color:#808080;
}
a:visited { color: #008080; }

p { margin-bottom: 10px;line-height:24px;color:#686868; }

input, textarea { 
font: 12px Verdana, Helvetica, Arial, Geneva, sans-serif; line-height:18px;
}

blockquote { 
	font: italic 14px/22px Georgia, Serif; 
	padding: 5px 10px;
	margin-bottom: 20px;
	background: #eef3f7; 
}



/* Container
-------------------------------------------------------------------*/
#container { 
	width: 900px; 
	padding-bottom: 10px; 
	overflow: hidden; 
	width:900px;
	position:relative;
	left:50%;
	margin:20px auto 20px -450px;
}
#container #wrapper { 
	width: 900px; 
	float: left; 
	overflow: hidden; 
	background: #d6ded4 url(images/sidebar-bg.gif) repeat-y top right; 
}



/* Header
-------------------------------------------------------------------*/
#header { 
	width: 900px; 
	height: 53px; 
	float: left; 
	background: #fafafa url(images/header-bg.gif) no-repeat center; 
	position: relative; 
}
#header h1 { 
	font: 24px Verdana;
	padding: 12px 0 0 15px; 
	margin-bottom: 0; 
	color: #333; 
}
#header h1 a { 
	color: #333; 
	text-shadow: 1px 1px 1px #fff; 
	text-decoration: none; 
}
#header h1 span { 
	padding-left: 10px; 
	font-size: 11px; 
	color: #777; 
}



/* Search
-------------------------------------------------------------------*/
#search {
	position: absolute;
	top: 20px; 
	right: 10px;
}
#search #s { 
	width: 193px;
	height: 24px;
	padding: 5px 0 5px 23px;
	vertical-align: bottom;
	line-height: 1px;
	font: normal 12px Verdana, Sans-Serif;
	color: #777;
	border: 0;
	background: #fafafa url(images/search-bg.gif) no-repeat;
}



/* Navigation
-------------------------------------------------------------------*/
#nav { 
	width: 900px;
	float: left; 
	height: 32px; 
	background: #fafafa url(images/nav-bg.gif) repeat-x; 
	position: relative; 
}
#nav ul { 
	margin-left: 15px; 
}
#nav ul li { 
	display: inline; 
	margin-right: 20px; 
}
#nav ul li a { 
	font-weight: bold; 
	text-shadow: 1px 1px 1px #fff; 
	text-decoration: none;
	font-size:14px; 
	color: #555; 
	line-height: 33px; 
}
#nav ul li a:hover { 
	color: #333; 
}
#nav #feed {  
	position: absolute; 
	right: 75px; 
	top: 7px;
	font-weight: bold;
	color: #555;
	text-decoration: none;
	padding: 0 0 0 20px;
	display: block; 
	text-shadow: 1px 1px 1px #fff; 
	background: url(images/feed.gif) no-repeat 0 3px; 
}
#nav #logout {  
	position: absolute; 
	right: 15px; 
	top: 7px;
	font-weight: bold;
	color: #555;
	text-decoration: none;
	padding: 0 0 0 20px;
	display: block; 
	text-shadow: 1px 1px 1px #fff; 
}



/* Content
-------------------------------------------------------------------*/
#content { 
	width: 670px; 
	float: left; 
	padding: 15px; 
	background: #fff;
	word-wrap:break-word;
}

.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 5px 15px 10px 0; }
.alignright { float: right; margin: 5px 0 10px 15px; }


/* Sidebar
-------------------------------------------------------------------*/
#sidebar { 
	width: 200px; 
	float: right; 
	font-size: 12px; 
	color: #555; 
	margin-bottom: 15px;
}
#sidebar h3 { 
	font: bold 13px Verdana; 
	color: #333; 
}

#sidebar a { color: #0080c0;; text-decoration: none;}
#sidebar a:hover { color: #408080; text-decoration:underline;}

#sidebar .block { 
	padding: 15px; 
	overflow: hidden;
	background: url(images/sidebar-block-bg.gif) no-repeat bottom center; 
}
#sidebar .block ul li { 
	padding-left: 18px; 
	background: url(images/arrow.gif) no-repeat 0px 3px; 
	margin-top:6px;
}


/* Footer
-------------------------------------------------------------------*/
#footer {
	width: 900px;
	height: 29px;
	float: left;
	clear: both;  
	position: relative;
	background: #fafafa url(images/footer-bg.gif) no-repeat; 
}
#footer a#theme-author { 
	position: absolute; 
	top: 0px; 
	right: 0px; 
	display: block; 
	height: 28px; 
	width: 130px; 
}
#footer p { 
	line-height: 28px; 
	color: #333; 
	padding-left: 15px; 
	font-size: 11px; 
	margin: 0; 
}
#footer a { 
	color: #555;
	text-decoration: underline;
}

/*
 * 我的自定义样式
 */
.btn{
	width:50px;
	height:24px;
	cursor:pointer;
	margin-left:10px;
	margin-right:10px;
}
.btnw{
	width:80px;
	height:24px;
	cursor:pointer;
	margin-left:10px;
	margin-right:10px;
}

.error_info{
	color:#ff80ff;
}

#add_record{
	margin-left:20px;
}
/*
 * 定义个content里面的内容样式
 */
.content_main{
	margin-left:20px;
}
.content_main .title{
	padding-left:20px;
	font:1.2em;
	letter-spacing:4px;
	color:#0080c0;
}
.content_main p{
	padding-left:50px;
	margin:18px;
}


.codeInputBox {
	width:540px;
	border:1px solid #c0bbb4;
	overflow:auto;
	color:#686868;
	line-height:22px;
	margin-right:0;
	padding:5px 3px 3px 7px;
	font-size:13px;
	display:block;
	height:260px;
	resize:none;
}

#captionInputBox {
	width:540px;
	border:1px solid #c0bbb4;
	font-size:13px;
	color:#686868;
	line-height:22px;
	overflow:auto;
	margin-right:0;
	padding:5px 3px 3px 7px;
	display:block;
	height:100px;
	resize:none;
}

/*
 * table style
 */
#TabDiv {
	cursor:default;
	border:1px solid #dfdfdf;
	width:660px;
	background:#fff;
	margin:1em auto;
	word-break:break-all;word-wrap:break-word; 
	-moz-border-radius:11px;
	-khtml-border-radius:11px;
	-webkit-border-radius:11px;
	border-radius:11px;
	-moz-box-shadow:0 0 1.2em rgba(0,0,0,0.2);
	-webkit-box-shadow:0 0 1.2em rgba(0,0,0,0.2);
	-khtml-box-shadow:0 0 1.2em rgba(0,0,0,0.2);
}


#TabDiv tr {
	width:620px;
	display:table;
}

#TabHeader {
	width:620px;
	margin-left:20px;
	border-collapse:collapse;
	height:22px;
	font-size:15px;
	background:#9b9b9b;
	color:#ffffff;
	text-align:center;
}
#TabHeader td{
	border:1px solid #9b9b9b;
	padding-left:10px;
	padding-bottom:5px;
}
#TabHeader2 {
	margin-left:20px;
	border-collapse:collapse;
	height:22px;
	font-size:15px;
	background:#9b9b9b;
	color:#ffffff;
	text-align:center;
}

.lightBlue {
	display:table;
	background:rgb(238,243,248);
}
#TabMain {
	margin-left:20px;
	width:620px;
	border-collapse:collapse;
	font-size:12px;
	line-height:1.6em;
	
}

#TabMain tr {background-color:expression((this.sectionRowIndex%2==0)?"#ffffff":"#f0f0f0")}
#TabMain td{
	border:1px solid #9b9b9b;
	padding-left:10px;
	padding-bottom:5px;
}
caption {
	padding-top:10px;
	padding-bottom:10px;
	font-weight:normal;
	font-size:25px;
	color:#000000;
	font-family:楷体,华文楷体,楷体_GB2312;
	text-align:center;
}

/*
 * 代码显示区样式
 */
#CodeHeader{
	padding-left:30px;
}

#CodeBody p{
	margin-left:40px;
	margin-top:10px;
	word-break:break-all;
}

/*
 * 个人做题记录显示表
 */
.user_info_tab{
	text-align:center;
}

/*
 * 注册区域的表单
 */
td{
	padding:3px;
}
.registerInfo{
	font-size:12px;
	color:#408080;
}
.error{
	color:#ff80ff;
	font:"Arial Black" ;
	font-size:12px;
}
#registerTable{
	font-size:14px;
}

.contentP{
	margin-lef:50px;
	padding-left:50px;
}
#commentBox{
	width:500px;
	border:1px solid #c0bbb4;
	overflow:auto;
	margin-right:0;
	padding:8px 3px 3px 8px;
	font-size:14px;
	display:block;
	height:100px;
	background:url(images/form-field-bg.gif) no-repeat left top;
	resize:none;
}


.user_info_detail_tab{
	font-size:13px;
	width:500px;
	text-align:right;
}

.td2{
	text-align:left;
	padding-left:10px;
}
/*
 * 添加管理员的表格
 */
#admin_table{
	width:600px;
	font-size:12px;
}
#admin_table .tdLeft{
	text-align:right;
}
/*
 * contest
 */
.contest_block{
	width:500px;
	padding-top:10px;
	padding-left:40px;
	margin-left:20px;
	margin-bottom:10px;
	border:solid 1px #666;
}

#code_display{
	margin-left:35px;
	padding-top:5px;
	padding-left:5px;
	width:620px;
	height:300px;
	border:solid #c8c8c8 1px;
	background:#f0f0f0;
	overflow:scroll;
	word-break:normal;
}
